import { createApp } from 'vue'
import App from './App.vue'
import router from './router';
import store from './store'
import './assets/style/reset.scss';
import * as Icons from '@element-plus/icons-vue'
import ResizeObserver from 'resize-observer-polyfill'
window.ResizeObserver = ResizeObserver
const app = createApp(App)

// 注册elementIcon
Object.keys(Icons).forEach(key => {
    app.component(key, Icons[key])
})


app.use(router)
app.use(store)
app.mount('#app')


